home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / execlib / destroy_exec_windows.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  434 b   |  27 lines

  1. /*
  2. ### destory an execution window ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6. #include <suntool/textsw.h>
  7. #include <suntool/panel.h>
  8.  
  9.  
  10. void destroy_exec_windows()
  11. {
  12.  
  13.     extern short exec_panel_show;
  14.     extern Frame exec_frame;
  15.     extern Panel exec_panel;
  16.     extern Textsw exec_textsw;
  17.  
  18.     if(exec_panel_show){
  19.             window_destroy(exec_textsw);
  20.             window_destroy(exec_panel);
  21.             window_destroy(exec_frame);
  22.         exec_panel_show=0;
  23.     }
  24.  
  25. }
  26.  
  27.